# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-daiquiri
pkgver=3.0.1
pkgrel=1
pkgdesc="Library to configure Python logging easily"
url="https://github.com/jd/daiquiri"
arch="noarch"
license="Apache-2.0"
depends="py3-json-logger"
makedepends="py3-setuptools_scm"
checkdepends="py3-mock py3-pytest"
source="https://files.pythonhosted.org/packages/source/d/daiquiri/daiquiri-$pkgver.tar.gz"
builddir="$srcdir/"daiquiri-$pkgver

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
4c786a744a8ed89147bb77c8825d8733ca88bf1d1877058c87257c92a7ae3b343a0820e9d83f4ac8a2a1b9b74d33f72bb5b306703b3bd57b51cf7931041c5d6c  daiquiri-3.0.1.tar.gz
"
